
/*!
 * \file      basicimageshape.cpp
 * \brief     BasicImageSquare implementation.
 * \author    Duriez Franck
 * \author    Carton Paul-Henri
 * \version   0.1
 */

#include "basicimageshape.h"
#include "basicimagesquare.h"
#include "constant.h"

BasicImageShape::BasicImageShape(QSFMLWidget *displayWidget, QObject *parent, float *dt) : /*{{{*/
	    Shape(displayWidget, parent, dt)
{
} /*}}}*/

BasicImageShape::~BasicImageShape() /*{{{*/
{
} /*}}}*/

Square* BasicImageShape::mySquareType(int*, int, ShapeType) /*{{{*/
{
	// For the BasicImageSquare, all Squares are dressed with the same picture.
	// So the arguments are useless.

	Square* res;
	res = new BasicImageSquare(displayer, dt, SQUARE_IMAGE);
	return res;
} /*}}}*/
